package com.dwxt.cdms.admin.controller;

import com.dwxt.cdms.admin.service.HistoryServiceAdmin;
import com.dwxt.cdms.base.Page;
import com.dwxt.common.base.BaseResult;
import com.fasterxml.jackson.databind.ser.Serializers;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/cdms/history")
@RestController
public class HistoryControllerAdmin {

    @Autowired
    private HistoryServiceAdmin historyServiceAdmin;

    @RequestMapping("/selectPage")
    public BaseResult selectPage(Page page, String startTime,String endTime,String category,String username){
        return historyServiceAdmin.selectPage(page,startTime,endTime,category,username);
    }
}
